package com.vip.seata.at.business.util.feign;

import feign.RetryableException;
import feign.Retryer;

/**
 * @author : evan.liu
 * @version V1.0
 * @Description: FeignNeverRetryer
 * @date Date : 2022年09月23日 9:51 下午
 */

public class FeignNeverRetryer implements Retryer {

    @Override
    public void continueOrPropagate(RetryableException e) {
        throw e;
    }

    @Override
    public Retryer clone() {
        return this;
    }
}
